import { RouteItem } from '@/api/model/permissionModel';
import { request } from '@/utils/request';

const Api = {
  // MenuList: '/get-menu-list-i18n',
  MenuList: '/sysUser/routeList',
};

export function getMenuList() {
  // return request.post<MenuListResult>({
  return request.post<Array<RouteItem>>({
    url: Api.MenuList,
  });
}
